/*
 * GameQuestions.java
 * Copyright(C) trythis.cn
 * 2022年12月17日 19时46分25秒Created
 */
package com.njcb.game.repository.dao;

import com.njcb.ams.repository.dao.base.BaseMyBatisDAO;
import com.njcb.ams.repository.dao.mapper.BaseMapper;
import com.njcb.game.repository.dao.mapper.GameQuestionsMapper;
import com.njcb.game.repository.entity.GameQuestions;
import com.njcb.game.repository.entity.GameQuestionsExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository
public class GameQuestionsDAO extends BaseMyBatisDAO<GameQuestions, GameQuestionsExample, Integer> {
    @Autowired
    private GameQuestionsMapper mapper;

    public GameQuestionsDAO() {
        this.entityClass = GameQuestions.class;
    }

    @Override
    @SuppressWarnings("unchecked")
    public GameQuestionsMapper getMapper() {
        return mapper;
    }
}